#ifndef DATE_PROTOCOL_H
#define DATE_PROTOCOL_H

 enum {
    FUN_FLOAT_1 = 1,
    FUN_FLOAT_2,
    FUN_FLOAT_4,
    FUN_FLOAT_8,
    FUN_FLOAT_16,
    FUN_FLOAT_32,

    FUN_INT32_1,
    FUN_INT32_2,
    FUN_INT32_4,
    FUN_INT32_8,
    FUN_INT32_16,
    FUN_INT32_32,
    // 如果以后扩展，可以继续往后加
};

typedef struct {
    float data;
} _float_1;
typedef struct {
    float data[2];
} _float_2;
typedef struct {
    float data[4];
} _float_4;

typedef struct {
    float data[8];
} _float_8;

typedef struct {
    float data[16];
} _float_16;

typedef struct {
    float data[32];
} _float_32;
typedef struct {
    int32_t data[1];
} _int32_t_1;
typedef struct {
    int32_t data[2];
} _int32_t_2;
typedef struct {
    int32_t data[4];
} _int32_t_4;
typedef struct {
    int32_t data[8];
} _int32_t_8;
typedef struct {
    int32_t data[16];
} _int32_t_16;
typedef struct {
    int32_t data[32];
} _int32_t_32;



#endif // DATE_PROTOCOL_H
